/*
 * @Author: herw
 * @Date: 2020-07-21 14:37:57
 * @Last Modified by:   herw
 * @Last Modified time: 2020-07-21 14:37:57
 */
import request from '@/utils/request'

export function getErrDetail(id) {
  return request({
    url: 'api/logs/error/' + id,
    method: 'get'
  })
}

export function delAllError() {
  return request({
    url: 'api/logs/del/error',
    method: 'delete'
  })
}

export function delAllInfo() {
  return request({
    url: 'api/logs/del/info',
    method: 'delete'
  })
}
